import changeData from 'utils/changeData.js';
export const detalisList = [{
	slot: true,
	field:'name',
	label: '',
},
{
	label: '外文名',
	field: 'foreignName',
	encryption: true
},
{
	label: '外文姓',
	field: 'foreignSurname',
	encryption: true
},
{
	label: '出生日期',
	field: 'birth',
},
{
	label: '联系电话',
	field: 'phone',
	encryption: true
},

{
	label: '实际居住地',
	field: 'actualPlace',
},
]
export const detalisList1 = [{
	label: '证件类型',
	field: 'cardType_dictText',
},
{
	label: '证件号码',
	field: 'card',
	encryption: true
},
]
export const detalisList2 = [{
	label: '职业',
	field: 'occupation',
},
{
	label: '职业类型',
	field: 'occupationType_dictText',
},
]
export const detalisList3 = [{
	label: '地(住)址登记类型',
	field: 'registrationType_dictText',
},
{
	label: '人户一致',
	field: 'consistencyIndividuals',
	slot: true,
},
{
	label: '户籍所在地',
	field: 'registeredResidence',
},
{
	label: '实际居住地',
	field: 'actualPlace',
},
{
	label: '未落户原因',
	field: 'reason',
},
]
export const detalisList4 = [{
	label: '境外人员身份',
	field: 'overseasIdentify_dictText',
},
{
	label: '签证(居留许可)种类',
	field: 'personnelTypes_dictText',
},
{
	label: '签证(居留许可)号',
	field: 'visaNum',
	encryption: true
},
{
	label: '截止时间',
	field: 'deadlineDate',
},
{
	label: '签发机关',
	field: 'signingOrg',
}
]
export const detalisList5 = [{
	label: '姓名',
	field: 'inviteName',
	encryption: true
},
{
	label: '联系电话',
	field: 'invitePhone',
	encryption: true
}, {
	label: '身份证号码',
	field: 'inviteCard',
	encryption: true
},
]
export const detalisList6 = [{
	label: 'remark',
	field: 'remark',
},
]
export const formList = [{
	label: '核查人姓名',
	prop: 'verifierName',
	type: 'text',
	placeholder: '请输入核查人姓名',
	rules: [{
		required: true,
		message: '请输入核查人姓名',
		trigger: ['change', 'blur']
	}]
},
{
	label: '工作单位',
	prop: 'verifierUnit',
	type: 'text',
	placeholder: '请输入工作单位',
	rules: [{
		required: true,
		message: '请输入工作单位',
		trigger: ['change', 'blur']
	}]
},

{
	label: '联系方式',
	prop: 'verifierPhone',
	type: 'text',
	placeholder: '请输入联系方式',
	rules: [{
		required: true,
		message: '请输入联系方式',
		pattern: changeData.phonePattern,
		trigger: ['change', 'blur']
	}]
},
{
	label: '核查时间',
	prop: 'verifierDate',
	type: 'datetime',
	placeholder: '请选择时间',
	mode: 'datetime',
	rules: [{
		required: true,
		message: '请选择时间',
		trigger: ['change', 'blur']
	}],
	format: 'YYYY-MM-DD HH:mm'
},
{
	label: '重点人员类型(选填)',
	prop: 'verifierType',
	type: 'popup',
	placeholder: '请选择重点人员类型',
	rules: [{
		required: true,
		message: '请选择重点人员类型',
		trigger: ['change', 'blur'],
		transform(value) {
			return String(value);
		}
	}],
	columns: [{
		name: '刑满不足5年',
		value: 2
	},
	{
		name: '刑满不足10年',
		value: 3
	}
	]
},
{
	label: '核查状态',
	prop: 'verifierStatus',
	type: 'popup',
	placeholder: '请选择核查状态',
	rules: [{
		required: true,
		message: '请选择核查状态',
		trigger: ['change', 'blur'],
		transform(value) {
			return String(value);
		}
	}],
	columns: [{
		name: '已核查',
		value: 2
	},

	{
		name: '上报',
		value: 3
	}
	]
},
{
	label: '情况描述（选填）',
	prop: 'situationDescription',
	type: 'textarea',
	placeholder: '请输入内容'
}
];
export const formList2 = [{
	label: '核查人姓名',
	prop: 'verifierName',
	type: 'text',
	placeholder: '请输入核查人姓名',
	rules: [{
		required: true,
		message: '请输入核查人姓名',
		trigger: ['change', 'blur']
	}]
},
{
	label: '工作单位',
	prop: 'verifierUnit',
	type: 'text',
	placeholder: '请输入工作单位',
	rules: [{
		required: true,
		message: '请输入工作单位',
		trigger: ['change', 'blur']
	}]
},

{
	label: '联系方式',
	prop: 'verifierPhone',
	type: 'text',
	placeholder: '请输入联系方式',
	rules: [{
		required: true,
		message: '请输入联系方式',
		pattern: changeData.phonePattern,
		trigger: ['change', 'blur']
	}]
},
{
	label: '核查时间',
	prop: 'verifierDate',
	type: 'datetime',
	placeholder: '请选择时间',
	mode: 'datetime',
	rules: [{
		required: true,
		message: '请选择时间',
		trigger: ['change', 'blur']
	}],
	format: 'YYYY-MM-DD HH:mm'
},
{
	label: '核查状态',
	prop: 'verifierStatus',
	type: 'popup',
	placeholder: '请选择核查状态',
	rules: [{
		required: true,
		message: '请选择核查状态',
		trigger: ['change', 'blur'],
		transform(value) {
			return String(value);
		}
	}],
	columns: [{
		name: '已核查',
		value: 2
	},

	{
		name: '上报',
		value: 3
	}
	]
},
{
	label: '情况描述（选填）',
	prop: 'situationDescription',
	type: 'textarea',
	placeholder: '请输入内容'
}
];